﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GylCSharpUtils.Common.Utils {
    public class TimeUtils {

        /// <summary>
        /// 获取总毫秒数
        /// </summary>
        /// <returns></returns>
        public static long GetAllMillSeconds() {
            return DateTime.Now.Ticks / 10000;
        }


        public static long GetNowTicks() {
            return DateTime.Now.Ticks;
        }
    }
}
